function gisData(){
    $(".mainLeft header").on("click","li",function(){
        $(this).css("color","#0086FF").siblings().css("color","black")
        if($(this).text()==="采集中"){
            $(".header-line p").css("left","0")
        }
        else if($(this).text()==="已到期"){
            $(".header-line p").css("left","calc(50% - 40px)");
            $(".dated").css("opacity","1").siblings("ul").css("opacity","0")
            $(".dated").css("z-index","5").siblings("ul").css("z-index","1")
        }
        else if($(this).text()==="数据查看"){
            $(".header-line p").css("left","calc(100% - 80px)");
            $(".pieWeaper").css("opacity","1").siblings("ul").css("opacity","0")
            $(".pieWeaper").css("z-index","5").siblings("ul").css("z-index","1")
        }
    })
    
}
gisData()
GISDataCall(fn)
function fn(data) { 
    console.log(data)
 }
